package com.cool.cloud.service.impl;

import com.cool.cloud.entity.SliderPicture;
import com.cool.cloud.service.SliderPictureService;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("sliderPictureService")
public class SliderPictureServiceImpl extends BaseService implements SliderPictureService {

    @Override
    public List<SliderPicture> queryAll() {
        return sliderPictureMapper.queryAll();
    }

    @Override
    public int delete(Integer id) {
        return sliderPictureMapper.delete(id);
    }

    @Override
    public int add(SliderPicture picture) {
        return sliderPictureMapper.add(picture);
    }
}
